<?php
	HtmlsHelper::ContentHeader('New question');
	
	XHTML::Form('');
	echo "<table class = 'form'>";
		echo "<tr><td colspan = '3' class = 'success' style = 'text-align: center; '>{$this->data['message']}</td></tr>";
		$this->helpers->htmlx->InputTextRowSite(Language::Get("Your name"), 'question_from_name', $this->data[$this->name]['question_from_name'], '', '');
		$this->helpers->htmlx->InputTextRowSite(Language::Get("Your email"), 'question_from_email', $this->data[$this->name]['question_from_email'], '', '');
		$this->helpers->htmlx->TextareaRowSite(Language::Get("Your question"), 'question_text', $this->data[$this->name]['question_text'], '', '');
		$this->helpers->htmlx->InputSubmitRowSite('Submit', Language::Get('Send'));
	echo "</table>
	</form>";
?>